// damo.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include "../shellcode/sysdllFun.h"
int encoder(char * pdata,int nlen);
int decoder(char * pdata,int nlen);
int decoder(char * pdata,int nlen)
{	
	for (int i = 0;i<nlen;i++)
	{
		pdata[i]^=0xaa;
	}
	return 0;
}

int encoder(char * pdata,int nlen)
{
	for (int i = 0;i<nlen;i++)
	{
		pdata[i]&=0xaa;
	}
	return 0;
}

int main(int argc, char* argv[])
{
	char szData[512] = {0};
	memset(szData,150,512);
	encoder(szData,512);
	decoder(szData,512);
	//FunLoadLibraryA fun= (FunLoadLibraryA)GetLoadLibAddress();
	//FunGetProcAddress fun2= (FunGetProcAddress)GetProcAddressddress();
//	void * lib= fun("NTDLL.DLL");
//	printf("Hello World!\n");
	return 0;
}

